﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 返工过站
    /// </summary>
    public class VReworkSite : BaseVModel
    {
        private string _reworkNo = string.Empty;
        private string _siteName = string.Empty;

        #region Public Property

        ///<Summary>
        /// 返修单号
        ///</Summary>
        public string ReworkNo
        {
            get { return string.IsNullOrWhiteSpace(_reworkNo) ? string.Empty : _reworkNo; }
            set { _reworkNo = value; }
        }

        ///<Summary>
        /// 过站类型
        ///</Summary>
        public Enum.SiteType SiteType { get; set; }

        ///<Summary>
        /// SiteName
        ///</Summary>
        public string SiteName
        {
            get { return string.IsNullOrWhiteSpace(_siteName) ? string.Empty : _siteName; }
            set { _siteName = value; }
        }

        ///<Summary>
        /// 是否扣料
        ///</Summary>
        public bool UseMaterials { get; set; }
        #endregion
    }
}
